<include file="Public:header" />
<script type="text/javascript" src="__PUBLIC__/js/kindeditor-all-min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/zh_CN.js"></script>
<link rel="stylesheet" href="__PUBLIC__/css/kindeditor.css" type="text/css" />
<script type="text/javascript">
	<if condition="C('ismobile') neq 1">
		var editor;
		KindEditor.ready(function(K) {
			editor = K.create('textarea[name="content"]', {
				uploadJson:'__APP__/index.php/File/editor/',
				allowFileManager : true,
				loadStyleMode : false,
				fileManagerJson: "__APP__/index.php/File/manager/"
			});
		});
	</if>
</script>
<div class="container">
	<!-- Docs nav ================================================== -->
	<div class="page-header">
		<h4>修改 内页顶部图设置</h4>
	</div>

	<div class="row">
		<div class="span12">
			<include file="Public:alert" />
			<form action="__APP__/index.php/Setting/page/" method="post"  enctype="multipart/form-data">
				<input type="hidden" name="id" value="{$vo.id}" />
				<table class="table" border="0" cellspacing="1" cellpadding="0">
					<thead>
						<tr>
							<td colspan="2"><input name="submit" class="btn btn-primary" type="submit" value="保存"/>&nbsp; <input class="btn btn-primary" name="submit" type="submit" value="保存 & 新增"/> &nbsp;<input class="btn" type="button" onclick="javascript:history.go(-1)" value="返回"/></td>
						</tr>
					</thead>
					<tfoot>
						<tr>
							<td colspan="2"><input class="btn btn-primary"  name="submit" type="submit" value="保存"/> &nbsp;<input class="btn btn-primary" type="submit" value="保存 & 新增"/>&nbsp; <input class="btn" type="button" onclick="javascript:history.go(-1)" value="返回"/></td>
						</tr>
					</tfoot>
					<tbody>
						
						
						<tr>
							<td class="tdleft">标题图片</td>
							<td id="fileTD">
							<?php if(!empty($vo['name'])){?>
							<img src="<?php echo "http://".FRONT_SITE_NAME.str_replace("./","/",$vo['name']);?>" style="width:400px;"/>
							<?php }?>
							 <input type="file" name="imgfile" id="file_more"  /> 1920px * 476px         
							</td>
						</tr>
						
					</tbody>
				</table>
			</form>

		</div>
	</div>
</div>

<script type="text/javascript">
	<if condition="C('ismobile') eq 1">
		width=$('.container').width() * 0.9;
		$("#content").css({
			width : width
		});
	</if>
	$("input[name='submit']").click(function(){			

	});
	


	$(".fa-slack").parent().parent().addClass("active");  //一级栏目
	$(".fa-chain").parent().addClass("active");  //二级栏目需要添加active样式
</script>
<include file="Public:footer" />